<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.15"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>WB32L003 Standard Peripherals Firmware Library: TIM_Input_Capture_Selection</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">WB32L003 Standard Peripherals Firmware Library
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.15 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#define-members">Macros</a>  </div>
  <div class="headertitle">
<div class="title">TIM_Input_Capture_Selection<div class="ingroups"><a class="el" href="group___w_b32_l003___std_periph___driver.html">WB32L003_StdPeriph_Driver</a> &raquo; <a class="el" href="group___b_a_s_e_t_i_m.html">BASETIM</a><a class="el" href="group___w_b32_l003___std_periph___driver.html">WB32L003_StdPeriph_Driver</a> &raquo;  &#124; <a class="el" href="group___t_i_m.html">TIM</a> &raquo; <a class="el" href="group___t_i_m___exported__constants.html">TIM_Exported_constants</a></div></div>  </div>
</div><!--header-->
<div class="contents">
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a>
Macros</h2></td></tr>
<tr class="memitem:ga3d38876044457b7faefe951d367ac8c3"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___t_i_m___input___capture___selection.html#ga3d38876044457b7faefe951d367ac8c3">TIM_ICSelection_DirectTI</a>&#160;&#160;&#160;((uint16_t)0x0001)</td></tr>
<tr class="separator:ga3d38876044457b7faefe951d367ac8c3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga2289b684133ac0b81ddfcd860d01b144"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___t_i_m___input___capture___selection.html#ga2289b684133ac0b81ddfcd860d01b144">TIM_ICSelection_IndirectTI</a>&#160;&#160;&#160;((uint16_t)0x0002)</td></tr>
<tr class="separator:ga2289b684133ac0b81ddfcd860d01b144"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga2cd464e97ffd6ea3208ec65672f9a373"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___t_i_m___input___capture___selection.html#ga2cd464e97ffd6ea3208ec65672f9a373">TIM_ICSelection_TRC</a>&#160;&#160;&#160;((uint16_t)0x0003)</td></tr>
<tr class="separator:ga2cd464e97ffd6ea3208ec65672f9a373"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga623d8592109f4702829ae7fc3806bcb8"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><b>IS_TIM_IC_SELECTION</b>(SELECTION)</td></tr>
<tr class="separator:ga623d8592109f4702829ae7fc3806bcb8"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<h2 class="groupheader">Macro Definition Documentation</h2>
<a id="ga623d8592109f4702829ae7fc3806bcb8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga623d8592109f4702829ae7fc3806bcb8">&#9670;&nbsp;</a></span>IS_TIM_IC_SELECTION</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define IS_TIM_IC_SELECTION</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">SELECTION</td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<b>Value:</b><div class="fragment"><div class="line">(((SELECTION) == <a class="code" href="group___t_i_m___input___capture___selection.html#ga3d38876044457b7faefe951d367ac8c3">TIM_ICSelection_DirectTI</a>) || \</div><div class="line">                                        ((SELECTION) == <a class="code" href="group___t_i_m___input___capture___selection.html#ga2289b684133ac0b81ddfcd860d01b144">TIM_ICSelection_IndirectTI</a>) || \</div><div class="line">                                        ((SELECTION) == <a class="code" href="group___t_i_m___input___capture___selection.html#ga2cd464e97ffd6ea3208ec65672f9a373">TIM_ICSelection_TRC</a>))</div><div class="ttc" id="group___t_i_m___input___capture___selection_html_ga2289b684133ac0b81ddfcd860d01b144"><div class="ttname"><a href="group___t_i_m___input___capture___selection.html#ga2289b684133ac0b81ddfcd860d01b144">TIM_ICSelection_IndirectTI</a></div><div class="ttdeci">#define TIM_ICSelection_IndirectTI</div><div class="ttdef"><b>Definition:</b> wb32l003_tim.h:478</div></div>
<div class="ttc" id="group___t_i_m___input___capture___selection_html_ga2cd464e97ffd6ea3208ec65672f9a373"><div class="ttname"><a href="group___t_i_m___input___capture___selection.html#ga2cd464e97ffd6ea3208ec65672f9a373">TIM_ICSelection_TRC</a></div><div class="ttdeci">#define TIM_ICSelection_TRC</div><div class="ttdef"><b>Definition:</b> wb32l003_tim.h:481</div></div>
<div class="ttc" id="group___t_i_m___input___capture___selection_html_ga3d38876044457b7faefe951d367ac8c3"><div class="ttname"><a href="group___t_i_m___input___capture___selection.html#ga3d38876044457b7faefe951d367ac8c3">TIM_ICSelection_DirectTI</a></div><div class="ttdeci">#define TIM_ICSelection_DirectTI</div><div class="ttdef"><b>Definition:</b> wb32l003_tim.h:475</div></div>
</div><!-- fragment -->
</div>
</div>
<a id="ga3d38876044457b7faefe951d367ac8c3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga3d38876044457b7faefe951d367ac8c3">&#9670;&nbsp;</a></span>TIM_ICSelection_DirectTI</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define TIM_ICSelection_DirectTI&#160;&#160;&#160;((uint16_t)0x0001)</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>TIM Input 1, 2, 3 or 4 is selected to be connected to IC1, IC2, IC3 or IC4, respectively </p>

</div>
</div>
<a id="ga2289b684133ac0b81ddfcd860d01b144"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga2289b684133ac0b81ddfcd860d01b144">&#9670;&nbsp;</a></span>TIM_ICSelection_IndirectTI</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define TIM_ICSelection_IndirectTI&#160;&#160;&#160;((uint16_t)0x0002)</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>TIM Input 1, 2, 3 or 4 is selected to be connected to IC2, IC1, IC4 or IC3, respectively. </p>

</div>
</div>
<a id="ga2cd464e97ffd6ea3208ec65672f9a373"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga2cd464e97ffd6ea3208ec65672f9a373">&#9670;&nbsp;</a></span>TIM_ICSelection_TRC</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define TIM_ICSelection_TRC&#160;&#160;&#160;((uint16_t)0x0003)</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>TIM Input 1, 2, 3 or 4 is selected to be connected to TRC. </p>

</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by Westberry Technology (ChangZhou) Corp., Ltd. All rights reserved.
</small></address>
</body>
</html>
